﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_manhole_cover_daLian", DisableSyncStructure = true)]
	public partial class TManholeCoverDaLian {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty, Column(Name = "batteryVoltage", DbType = "decimal(18,2)")]
		public decimal? BatteryVoltage { get; set; }

		[JsonProperty, Column(Name = "chgasValue", StringLength = 50)]
		public string ChgasValue { get; set; }

		[JsonProperty, Column(Name = "cogasAlarm", StringLength = 50)]
		public string CogasAlarm { get; set; }

		[JsonProperty, Column(Name = "cogasValue", StringLength = 50)]
		public string CogasValue { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(Name = "dataId")]
		public long? DataId { get; set; }

		[JsonProperty, Column(Name = "defenseStatus", StringLength = 500)]
		public string DefenseStatus { get; set; }

		[JsonProperty]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(Name = "hsgasAlarm", StringLength = 50)]
		public string HsgasAlarm { get; set; }

		[JsonProperty, Column(Name = "hsgasValue", StringLength = 50)]
		public string HsgasValue { get; set; }

		[JsonProperty, Column(Name = "ogasAlarm", StringLength = 50)]
		public string OgasAlarm { get; set; }

		[JsonProperty, Column(Name = "ogasValue", StringLength = 50)]
		public string OgasValue { get; set; }

		[JsonProperty, Column(Name = "pastNumber")]
		public int? PastNumber { get; set; }

		[JsonProperty, Column(Name = "rsrp")]
		public int? Rsrp { get; set; }

		[JsonProperty, Column(Name = "rsrq")]
		public int? Rsrq { get; set; }

		[JsonProperty, Column(Name = "shakeAlarm", StringLength = 50)]
		public string ShakeAlarm { get; set; }

		[JsonProperty, Column(Name = "signalValue", StringLength = 50)]
		public string SignalValue { get; set; }

		[JsonProperty, Column(Name = "signalStatus", StringLength = 50)]
		public string SignalStatus { get; set; }

		[JsonProperty, Column(Name = "snr")]
		public int? Snr { get; set; }

		[JsonProperty, Column(Name = "stateStr", StringLength = -2)]
		public string StateStr { get; set; }

		[JsonProperty, Column(Name = "tempStatus", StringLength = 50)]
		public string TempStatus { get; set; }

		[JsonProperty, Column(Name = "tempValue")]
		public int? TempValue { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

		[JsonProperty, Column(Name = "voltageStatus", StringLength = 50)]
		public string VoltageStatus { get; set; }

		[JsonProperty, Column(Name = "voltageValue", StringLength = 50)]
		public int VoltageValue { get; set; }

		[JsonProperty, Column(Name = "wakeupTime")]
		public int? WakeupTime { get; set; }

		[JsonProperty, Column(Name = "waterStatus", StringLength = 50)]
		public string WaterStatus { get; set; }

		[JsonProperty, Column(Name = "waterValue")]
		public int? WaterValue { get; set; }

		[JsonProperty, Column(Name = "wellLidangle")]
		public int? WellLidangle { get; set; }

		[JsonProperty, Column(Name = "wellLidStatus", StringLength = 500)]
		public string WellLidStatus { get; set; }

	}

}
